#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;

int main()
{

	int N = 0;
	int a = 0;
	int b = 0;
	int c = 0;
	scanf("%d", &N);

	while (N--)
	{

		scanf("%d %d %d", &a, &b, &c);
		if (c == a * b)
		{
			printf("Lv Yan\n");
		}
		else if (c == a + b)
		{
			printf("Tu Dou\n");
		}
		else
		{
			printf("zhe du shi sha ya!\n");
		}

	}



	return 0;
}
